Creating and upgrading of solutions for deployment in a virtualized computing environment

ABSTRACT

A method of creating a software image of a solution to be deployed in a virtualized computing environment includes: retrieving a schema of the solution and determining from the schema software products that are required by the solution and software features that are required by the solution; for each software product, selecting a version of the software product to include in the solution and identifying software features provided by the selected version of the software product; and upon confirming that the selected versions of the software products provide all of the software features that are required, creating the software image of the solution that includes the selected version of each of the software products, and saving the software image in a storage device for deployment in the virtualized computing environment.

BACKGROUND

In many virtualization computing systems, virtualization software isinstalled on a cluster of hosts using an ISO image that is created froma flat list of software installation bundles (SIBs). An SIB is thesmallest unit of software that can be shipped and installed, and theseSIBs make up, for example, a base hypervisor image (hereinafter alsoreferred to as “base image”) from a virtualization software provider, aswell as drivers, agents, and other software components from an OEM(original equipment manufacturer) and other vendors of hardware. In atypical installation, hundreds of these SIBs are packaged as one or moreISO images and installed in the hosts.

After installation, lifecycle management of the virtualization softwarebecomes cumbersome and error-prone for several reasons. First, althoughdifferent software developers create new versions or updates to theSIBS, the new versions or updates cannot be released independently. Thereleases have to be tightly controlled because it is likely that one SIBhas a dependency to another SIB. As a result, new releases are made inthe form of bulletins, which are a collection of software installationbundles, or as a new ISO image in which new SIBs from the virtualizationsoftware provider, the OEM, and other software vendors are packaged.Because of the inter-dependencies and the integration of the newlydeveloped SIBs with other SIBs, it is difficult to make piecemealchanges to the virtualization software for easy consumption by an enduser during the lifecycle of the virtualization software.

Furthermore, new releases come in many different forms. A completerelease, e.g., a GA (general availability) release, may be made with anISO image or a bulletin. The bulletin may be employed for partialreleases as well, including rollup, patch, update, and extension. Veryfew end users understand the differences among these different types ofpartial releases and there are no clear rules that establish when andhow a bulletin should be created for a particular type of release.

Consequently, over time, changes to the virtualization software arelayered on top of each other and the final image of the virtualizationsoftware is not easily captured or described. Worse, history becomes afactor in that past bulletins may have included other SIBs, notoverridden in later bulletins. For these reasons, the overall content isdifficult to capture or describe, and the end user is unable to answerthe question, “What is the current state of the virtualization softwareconfigured in each of the hosts in the cluster?” As such, if there is aparticular desired state of the virtualization software that the user isinterested in, the end user will have no way of knowing whether thecurrent state is compliant with the desired state and, if not, how tomake the current state compliant with the desired state.

Accordingly, software developers have delivered simpler ways to managethe lifecycle of virtualization software, as disclosed in U.S. patentapplication Ser. No. 16/939,117, filed Jul. 27, 2020, the entirecontents of which are incorporated by reference herein. As customers aredeploying various solutions (e.g., a low latency networking solution ora high-performance storage solution) in virtualized computingenvironments, there is an increasing need to ensure that these solutionsare functionally compatible and interoperable with the virtualizationsoftware and provide all of the features expected by the customers oncedeployed in the virtualized computing environments.

SUMMARY

One or more embodiments provide methods to create a software image of asolution to be deployed in a virtualized computing environment. In oneembodiment, a new software image of the solution is created and savedfor deployment in the virtualized computing environment after it isconfirmed that the software image as created is able to provide all ofthe features required by the solution. In another embodiment, an updatedsoftware image of the solution is created in response to a proposedsoftware upgrade and saved for deployment in the virtualized computingenvironment after it is confirmed that the updated software image isable to provide all of the features required by the solution.

A method of creating a software image of a solution, according to anembodiment, includes: retrieving a schema of the solution anddetermining from the schema software products that are required by thesolution and software features that are required by the solution; foreach software product, selecting a version of the software product toinclude in the solution and identifying software features provided bythe selected version of the software product; and upon confirming thatthe selected versions of the software products provide all of thesoftware features that are required, creating the software image of thesolution that includes the selected version of each of the softwareproducts, and saving the software image in a storage device fordeployment in the virtualized computing environment.

A method of updating a software image of a solution in response to aproposed software upgrade, according to an embodiment, includes: upondetecting the proposed software upgrade, retrieving a schema of thesolution and determining from the schema software features that arerequired by the solution, and retrieving the software image of thesolution that has been deployed in the virtualized computingenvironment; updating the software image of the solution based on theproposed software upgrade and identifying software features provided bythe updated software image; and upon confirming that the updatedsoftware image provides all of the software features that are required,permitting the proposed software upgrade and saving the updated softwareimage in a storage device for deployment in the virtualized computingenvironment.

Further embodiments include a non-transitory computer-readable storagemedium comprising instructions that cause a computer system to carry outthe above method, as well as a computer system configured to carry outthe above method.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a virtualized computing system in whichembodiments may be carried out.

FIG. 2 is a conceptual diagram that illustrates a flow of steps carriedout by different components of the virtualized computing system tocreate and apply a desired image of the virtualization software.

FIG. 3 is a flow diagram of steps carried out to create the desiredimage of the virtualization software.

FIG. 4 is a flow diagram of steps carried out to perform validation ofthe desired image.

FIG. 5 is a flow diagram of steps carried out to perform validationagainst a hardware compatibility list.

FIG. 6 is a command sequence diagram that depicts a process for applyingthe desired image of the virtualization software to hosts of thevirtualized computing system.

FIG. 7 illustrates an example of a solutions spec and a plurality offiles that define constraints of various solutions that can be added tothe solutions spec.

FIG. 8 is a diagram that depicts how compatible solution components areselected.

FIG. 9 is a flow diagram that depicts steps of a method for selecting acompatible version of solution components.

FIG. 10 is a flow diagram that depicts steps of a method for checkingfor compatibility of installed solution components during an upgrade ofa virtualization software.

FIG. 11 illustrates examples of a solution schema and product schemas.

FIG. 12 is a flow diagram that depicts steps of a method for creating asoftware image of a solution according to an embodiment.

FIG. 13 is a flow diagram that depicts steps of a method for modifying asoftware image of a solution according to an embodiment.

DETAILED DESCRIPTION

As described herein, SIBs, more generally referred to herein aspayloads, are logically grouped into “components.” In the embodiments, acomponent is a unit of shipment and installation, and a successfulinstallation of a component typically will appear to the end user asenabling some specific feature. For example, if a software vendor wantsto ship a user-visible feature that requires a plug-in, a driver, and anagent, the software vendor will create separate payloads for each of theplug-in, the driver, and the agent, and then group them together as onecomponent. From the end user's perspective, it is sufficient to installthis one component onto a server to enable this feature on the server. Acomponent may be part of another software image, such as a base image oran add-on, as further described below, or it may be a stand-alonecomponent provided by a third-party or the end user (hereinafterreferred to as “user component”).

A “base image” is a collection of components that are sufficient to bootup a server with the virtualization software. For example, thecomponents for the base image includes a core kernel component andcomponents for basic drivers and in-box drivers. The core kernelcomponent is made up of a kernel payload and other payloads that haveinter-dependencies with the kernel payload. The collection of componentsthat make up the base image may be packaged and released as one unit.

An “add-on” or “add-on image” is a collection of components that the OEMwants to bring together to customize its servers. Using add-ons, the OEMcan add, update or remove components that are present in the base image.The add-on is layered on top of the base image and the combinationincludes all the components that are necessary to customize, boot up andmonitor the OEM's servers. Although an “add-on” is always layered on topof a base image, the add-on content and the base image content are nottied together. As a result, an OEM is able to independently manage thelifecycle of its releases. In addition, end users can update the add-oncontent and the base image content independently of each other.

“Solutions” are software that are enabled to provide discrete featuresand functionalities. Example solutions include HA (high availability),which provides failover protection against hardware and system softwareoutages within the cluster of hosts, virtual center (VC), which providesvarious tools for managing virtual machines running in the cluster ofhosts, a virtual network (e.g., VMware NSX®) to which virtual machinesrunning in the cluster of hosts can connect, and virtual storage areanetwork (VSAN), which allows virtual storage resources to be provisionedfrom local hard disk drives and/or solid state drives of individualhosts in the cluster. Solutions run independently of the image of thevirtualization software but require certain components to be present inthe image of the virtualization software. In the embodiments, theend-user can enable a solution in a user interface but does not decidewhat components of the solution to install. Instead, after the solutionhas been enabled by the end user, an image manager (described below)determines what components of the solution to install based onconstraints of the solution.

FIG. 1 is a block diagram of a virtualized computing system 10 thatimplements a desired state model for managing the lifecycle ofvirtualization software. System 10 includes a cluster of hosts 131 whichmay be constructed on a server grade hardware platform such as an x86architecture platform. The hardware platform includes one or morecentral processing units (CPUs), system memory, e.g., random accessmemory (RAM), and one or more network interface controllers (NICs). Avirtualization software layer, also referred to herein as a hypervisor150, is installed on top of the hardware platform. Hypervisor 150supports a virtual machine execution space within which multiple VMs 140may be concurrently instantiated and executed.

In the embodiment illustrated in FIG. 1 , hosts 131 access sharedstorage 160 through their NICs. In another embodiment, each host 131contains a host bus adapter (HBA) through which input/output operations(IOs) are sent to shared storage 160. Shared storage 160 may comprise,e.g., magnetic disks or flash memory in a storage area network (SAN). Insome embodiments, hosts 131 also contain local storage devices (e.g.,hard disk drives or solid-state drives), which may be aggregated andprovisioned as a virtual SAN device.

VM management server 100 is a physical or virtual server thatcommunicates with hypervisor 150 of each host 131 to provision VMs 140from the hardware resources of host 131. VM management server 100logically groups hosts 131 into a cluster 130 to provide cluster-levelfunctions, such as load balancing across cluster 130 by performing VMmigration between hosts 131, distributed power management, dynamic VMplacement according to affinity and anti-affinity rules, andhigh-availability. The number of hosts 131 in the cluster may be one ormany and three are depicted in FIG. 1 .

In the desired state model, the end user expresses the desired state ofthe virtualization software (i.e., hypervisor 150) for the cluster ofhosts through a UI 101 of VM management server 100. One example form forexpressing the desired state is a software specification 105, which isgenerated based on selections made through UI 101. The selections thatcan be made through UI 101 include (1) base image, (2) add-on, (3)solution, (4) user component(s), and (5) firmware package (see FIG. 2 ).Image manager 112 consumes software specification 105 to composite adesired image that is modeled as a hierarchical software stack,including (1) the base image, which is the lowest layer of the softwarestack, (2) the add-on, which is layered on top of the base image, (3)firmware manifest corresponding to the selected firmware package in thelayer above the add-on, and then on the top (4) solution components and(5) other user components.

In the embodiments, (1) metadata and payloads of components, (2)metadata of base images, add-ons, firmware packages (in the form of afirmware manifest 123), and solutions, and (3) files that defineconstraints of solutions, are published in image depot 120. As depictedin FIG. 1 , metadata 121 for base images include metadata for “BaseImage 7.0,” Which include components, C1, C2, C4, etc. and metadata for“Base Image 7.1,” which include components, C1, C3, C5, etc. FIG. 1 alsodepicts metadata 122 for add-ons for a family of servers, F1, F2, andF3, where the “+” symbols represent components being added to the baseimage and the “−” symbols represent components being deleted from thebase image, while “update” represents a component in the base image thatis being updated. As shown in metadata 122, for each family of servers,there can be different components that are added to, deleted from,and/or updated in the base image. Thus, different add-ons can havedifferent dependencies. Firmware manifest 123 specifies components thatare to be added on top of the base image and the add-on (depicted witha + symbol in FIG. 1 ) and components that are to be removed from thebase image and the add-on (depicted with a − symbol in FIG. 1 ), so thatdrivers, agents, and other software components corresponding to theselected firmware package become part of the image of the virtualizationsoftware. In alternative embodiments, separate depots, e.g., in the formof file servers, are set up by OEMs to store metadata and payloads ofcomponents that the OEMs publish.

After image manager 112 composites the image of the virtualizationsoftware, image manager 112 validates the composited image in accordancewith the method depicted in FIG. 4 and, if validated, stores thecomposited image in shared storage 160 as a desired image 125 that is tobe installed in each host 131, and hands off control to coordinator 114.Coordinator 114 communicates with image manager 152 of each of hosts 131through an API call to install desired image 125 in each of hosts 131.Once image manager 152 installs desired image 125, it stores themetadata of the installed image of the virtualization software in imagedatabase 153. Going forward, image database 153 of each host 131operates as the single source of truth for the state of thevirtualization software configured in that host, and will record anychanges to the state of the virtualization software in image database153.

Coordinator 114 also communicates with a hardware support manager 170through an API call to install the firmware in hosts 131. In response tothe API call, hardware support manager 170 retrieves the firmware fromfirmware repository 171 and stages the firmware in hosts 131. Then, thefirmware staged in each host 131 is installed in the host by acorresponding baseboard management controller 154.

Hardware support manager 170 is a firmware management software runningin a physical or a virtual server that exposes various APIs. The APIsinclude: (1) an “apply/remediate” API call to install in hosts 131 thefirmware specified by the firmware manifest in desired image 125 or toremediate the firmware currently installed in hosts 131 to bring thefirmware into compliance, (2) a “list” API to list all of the firmwarepackages that hardware support manager 170 is supporting, (3) a “scan”API to compare the current state of the firmware running in hosts 131with the firmware specified by the firmware manifest in desired image125, (4) a “firmware inventory” API to report a current state of thefirmware running in hosts 131, (5) a “pre-check” API to confirm that itis possible to upgrade the firmware currently installed in hosts 131 tothe firmware specified by the firmware manifest in desired image 125,and (6) a “stage” API to retrieve the firmware specified by the firmwaremanifest in desired image 125 and store them in a cache memory of hosts131 for immediate installation upon receiving an apply or remediate APIcall. With these APIs, the end user is able to manage the image of thevirtualization software installed in hosts 131 and the firmwareinstalled in hosts 131 from a single “pane of glass,” in this case,through UI 101 of VM management server 100.

Before desired image 125 is actually installed in hosts 131, imagemanager 112 performs a validation against a hardware compatibility list(HCL) 180. The goal of this validation, more specifically referred toherein as an HCL validation, is to make sure that desired image 125which is going to be deployed in hosts 131 is compatible with thehardware devices in hosts 131. HCL 180 contains a list of all hardwaredevices installed in hosts 131, and identifies for each such hardwaredevice all versions of device firmware and drivers that are compatibletherewith. Validation is successful if the versions of the firmware anddrivers in desired image 125 are listed in HCL 180 as compatibleversions.

VM management server 100 further includes a solutions manager 113.Solutions manager 113 is software executed in VM management server 100to generate software images of the solutions from solution schemas andproduct schemas that are published in image depot 120. As productschemas are published in image depot 120 and as software images of thesolutions are generated, solutions manager 113 updates a tag database161 to track software features that are provided by different productsand solutions. After generating the software images, solutions manager113 stores the software images of the solutions in solutions depot 162.Solution schemas and product schemas are further described below inconjunction with FIG. 11 .

FIG. 2 is a conceptual diagram that illustrates a flow of steps carriedout by different components of the virtualized computing system tocreate and apply a desired image of the virtualization software. Thefirst part of FIG. 2 depicts steps for creating content and publishingthem in image depot 120. Typically, the creator of the base image is theprovider of the virtualization software, e.g., VMware, Inc., and thecreator of the add-on is the OEM, which is the provider of the physicalservers that are configured as hosts 131. The creator of components maybe the provider of the virtualization software, the OEM, or anothersoftware developer (e.g., in the case of user components).

Components are defined in an image specification 210 as a collection ofpayloads, which are stored in payload repository 230, and an imagepublishing kit 220 pulls in the payloads of the components from payloadrepository 230 and publishes them in image depot 120 along with themetadata of the published components. Components published in thismanner may be a component of a base image, a component of an add-on, afirmware component, a solution component, or a user component.

The provider of the virtualization software defines the components thatmake up the base image in an image specification 210, and imagepublishing kit 220 publishes the metadata of the base image in imagedepot 120. In the example depicted in FIG. 1 , the metadata of the baseimage for “Base 7.0” and the metadata of the base image for “Base 7.1”are published in image depot 120.

OEMs define the content of their add-ons in image specifications 210,and image publishing kit 220 publishes the metadata of the add-ons inimage depot 120. In the example depicted in FIG. 1 , the metadata ofadd-ons for a family of servers (e.g., F1, F2, and F3 of Server 3.0) arepublished in image depot 120. OEMs also define the content of firmwarecomponents, and image publishing kit 220 publishes the metadata of thesecomponents in image depot 120. OEMs also define the content of theirfirmware packages, in the form of a firmware manifest.

Different user components and solutions are also defined in imagespecifications 210. Image publishing kit 220 publishes the metadata andcomponents of the user components, and the metadata, components, andconstraints of the different solutions in image depot 120.

The second part of FIG. 2 depicts steps for creating, validating, andapplying the desired image. After payloads and metadata of base images,add-ons, firmware components, solutions, and user components have beenpublished in image depot 120, the end user is able to define softwarespecification 105 for the desired image of the virtualization softwarethrough UI 101. UI 101 includes different sections for selecting a baseimage, add-on, solution, firmware package, and one or more usercomponents. Software specification 105 is generated based on theselections the end user makes through UI 101.

In the embodiments illustrated herein, solutions are enabled by the enduser through a solutions user interface (UI) 102, which is accessed byclicking on the solutions button on UI 101. Solutions UI 102 includesdrop-down menus for selecting and enabling different versions ofsolutions. In the example given herein, versions of the followingsolutions can be selected and enabled through solutions UI 102: HA, VC,NSX, and VSAN. For the NSX solution, the end user is prompted to furtherselect components to add, e.g., the “fabric” component, the “PANetworks” component, or both. The two versions of VSAN solution that canbe enabled are shown as VSAN, which represents VSAN over normaltransport, e.g., TCP, and VSAN_o_RDMA, which represents VSAN over RDMAtransport, which is a higher speed transport than TCP transport.

After software specification 105 is generated, image manager 112 parsesit to determine the selections of the base image, add-on, solution,firmware package, and one or more user components made by the end user.The solution section of software specification 105 is illustrated inFIG. 7 as solution spec 710 and described below. Then, image manager 112retrieves the metadata corresponding to the selected base image, theselected add-on, and the enabled solution(s) from image depot 120,determines the firmware manifest corresponding to the selected firmwarepackage, and composites an image of the virtualization software as ahierarchical software stack, as described above. Image manager 112 thenvalidates the composited image as described below in conjunction withFIG. 4 , and commits the validated composited image of thevirtualization software as desired image 125 in shared storage 160.

FIG. 3 is a flow diagram of steps carried out by image manager 112 tocreate the desired image of the virtualization software. The method ofFIG. 3 begins at step 310, where image manager 310 starts with themetadata of the selected base image as the desired image. Then, at step312, image manager 310 retrieves the metadata of the selected add-on andparses the metadata of the selected add-on for components.

At step 314, image manager 112 selects a component to process. If thecomponent is to be updated as determined at step 316, image manager 112updates the metadata of the component in the desired image at step 318.If the component is to be removed as determined at step 320, imagemanager 112 removes the metadata of the component from the desired imageat step 322. If the component is to be neither updated nor removed, itis added to the desired image at step 326. If there are any more add-oncomponents to process, as determined at step 330, the process returns tostep 314, where another component is selected for processing.

If there are no more add-on components to process, as determined at step330, image manager 112 at step 332 processes the firmware manifestcorresponding to the selected firmware package to add and removecomponents in the same manner as the selected add-on was processed.Then, image manager 112 adds to the desired image and one or more usercomponents selected by the user at step 336 and components for theenabled solution(s) at step 338.

FIG. 4 is a flow diagram of steps carried out by image manager 112 toperform validation of the desired image. The method of FIG. 4 begins atstep 410 at which image manager 112 retrieves metadata of all payloadsin the desired image. Then, at step 412, image manager 112 parses theretrieved metadata to extract all dependencies and conflicts definedtherein. Image manager 112 executes steps 414 and 416 to determine ifany dependencies or conflicts are violated by the payloads that make upthe desired image. If there are no such violations, the desired image iscommitted at step 418 as stored in shared storage 160 as desired image125. On the other hand, if there is any violation, an error is returnedat step 420.

FIG. 5 is a flow diagram of steps carried out by image manager 112 toperform validation of the desired image of the virtualization softwareagainst HCL 180. The method of FIG. 5 begins at step 512 at which imagemanager 112 creates a list of firmware and drivers that are in desiredimage 125, along with their version numbers. At step 514, image manager112 selects a host against which HCL validation is performed. Steps 516,518, 520, 522, 524, 526, 528, 530, 532, and 534 are executed each time anew host is selected at step 514.

At step 516, image manager 112 acquires the hardware inventory of thehost, e.g., from a hardware discovery service that is running in VMmanagement server 100. Then, at step 518, image manager 112 selects aunique device in the hardware inventory. Steps 520, 522, 524, 526, 528,and 530 are executed each time a new unique device is selected at step518. At step 520, image manager 112 retrieves version details of driversand firmware of the selected device in the list created at step 512.Then, at step 522, image manager 112 accesses HCL 180 to retrieveversion details of supported driver and firmware of the selected device.The version details of the drivers and firmware retrieved at step 520and the version details of the drivers and firmware retrieved at step522 are then compared at step 524. If there is a match, i.e., theversion details of the drivers and firmware retrieved at step 520 can befound in the version details of the drivers and firmware retrieved atstep 522, the selected device is marked as compatible at step 526. Onthe other hand, if there is no match, i.e., the version details of thedrivers and firmware retrieved at step 520 cannot be found in theversion details of the drivers and firmware retrieved at step 522, theselected device is marked as incompatible at step 528.

If it is determined at step 530 that there is another unique device inthe hardware inventory, the process returns to step 518, where imagemanager 112 selects the next unique device in the hardware inventory. Ifit is determined at step 530 that there is no other unique device in thehardware inventory, the process proceeds to step 532, at which imagemanager 112 saves the status for the selected host. If any of thedevices were marked as incompatible at step 528, the selected host ismarked as incompatible at step 532. If all of the devices were marked ascompatible at step 528, the selected host is marked as compatible atstep 532.

At step 532, if it is determined that HCL validation has not beencarried out for all of hosts 131, the process returns to step 514, whereimage manager 112 selects the next host for HCL validation. If not, theprocess proceeds to step 536, at which image manager reads the status ofall the hosts in the cluster and saves the status for the entirecluster. If any of the hosts of the cluster were marked as incompatibleat step 532, the cluster is marked as incompatible at step 536. If allof the hosts of the cluster were marked as compatible at step 532, thecluster is marked as compatible at step 536. After step 536, the processends.

After desired image 125 is validated, committed, and stored in sharedstorage 160 and after it passes HCL validation, desired image 125 can beapplied to hosts 131. Referring back to FIG. 2 , image manager 112transfers control for applying desired image 125 to coordinator 114. Theprocess for applying desired image 125 is depicted in FIG. 6 . FIG. 6 isa command sequence diagram that depicts a process for applying thedesired image of the virtualization software to hosts of the virtualizedcomputing system. The process includes the following subprocesses: (1)scan, (2) pre-check, (3) stage, and (4) apply.

The scan subprocess is represented by steps S1 to S7. Coordinator 114initiates the scan subprocess by making the request to image manager 112at step S1. In response, image manager 112 at step S2 issues a scan APIto image manager 152 of each host 131 and a scan API to hardware supportmanager 170. The scan API includes a storage location of desired image125.

In response to the scan API, image manager 152 at step S3, accessesdesired image 125 and retrieves the current state of the virtualizationsoftware from image database 153, and compares the two to determine ifeach item of desired image 125 other than the firmware manifest is“incompatible” (which means that desired image 125 cannot be applied,e.g., when the current state is running a higher version of an item),“compliant” (which means that the current state matches the desiredstate), non-compliant (Which means that the current state can beupgraded to the desired state), or unknown (which means that acomparison of the current state could not be made with the item indesired image 125 because the item in desired image 125 is unknown ornot recognizable). At step S4, image manager 152 of each host 131 sendshack a compliance report indicating one of four aforementionedcompliance states, and for each item that is non-compliant, also reportson the impact on the host to which desired image 125 will be applied,i.e., whether the host needs to enter into a maintenance mode or needsto be rebooted.

In response to the scan API, hardware support manager 170 at step S5,accesses desired image 125 to extract the firmware manifest in desiredimage 125, and for each host 131, determines whether or not the firmwarespecified by the firmware manifest is incompatible, compliant,non-compliant, or unknown with respect to the firmware currentlyinstalled in each host 131. At step S6, hardware support manager 170prepares a firmware compliance report per host, and sends back thefirmware compliance report per host to image manager 112. The firmwarecompliance report per host indicates “incompatible” if the host hasinstalled therein firmware that is of a higher version that thatspecified by the firmware manifest, “compliant” if the host hasinstalled therein the firmware specified by the firmware manifest,“non-compliant” if the host has installed therein firmware that is of alower version than that specified by the firmware manifest, or “unknown”if the firmware manifest specifies firmware that is either unknown ornot recognizable. If the compliance state is “non-compliant” for anyhost, the firmware compliance report for that host also indicates theimpact on the host, i.e., whether the host needs to enter into amaintenance mode or needs to be rebooted. In cases where hardwaresupport manager 170 supports downgrading of the firmware, the firmwarecompliance report will indicate “non-compliant” instead of“incompatible” if the host has installed therein firmware that is of ahigher version that that specified by the firmware manifest.

Upon receipt of the compliance reports, image manager 112 prepares aper-host compliance report based on the compliance report sent from thehost at step S4 and a firmware compliance report for the cluster sentfrom hardware support manager 170 at step S6. Then, image manager 112generates a cluster level compliance report based on all of the per-hostcompliance reports from hosts 131 and the firmware compliance report forthe cluster sent from hardware support manager 170. At step S7, imagemanager 112 sends back both the per-host compliance report (which alsoindicates the impact on the host), and the cluster level compliancereport to coordinator 114.

The pre-check subprocess is represented by steps S8 to S12. Coordinator114 at step S8 issues a pre-check API to image manager 152 of each host131 and to hardware support manager 170. In response to the pre-checkAPI, image manager 152 of each host 131 at step S9 accesses desiredimage 125 and retrieves the current state of the virtualization softwarefrom image database 153, and compares the two to determine whether ornot the virtualization software in the host is compliant or can beupgraded to desired image 125 at that time, and performs several otherchecks on the host and at step S10 sends the results of the checks tocoordinator 114. The other checks include whether or not the host canenter into maintenance mode at that time and a check on the operationalhealth of the host. Similarly, in response to the pre-check API,hardware support manager 170 at step S11 performs a check on each host131 to determine whether or not the firmware in the host is compliant orcan be upgraded to the firmware specified by the firmware manifest indesired image 125 at that time, and at step S12 sends the results ofthis check to coordinator 114. A pre-check might fail for firmware ifhigher versions of firmware are already installed, or if the combinationof drivers in the image and the firmware specified by the firmwaremanifest would be incompatible (e.g. if the end user overrode acomponent in a way that is incompatible with the firmware specified bythe firmware manifest). There may also be hardware-specific reasons thefirmware specified by the firmware manifest cannot be applied (e.g.,defects in system that need repair, lack of resources for the firmwarein baseboard management controller 154, etc.)

Coordinator 114 determines whether or not to proceed with theapplication of desired image 125 to hosts 131 based on the results ofthe pre-check. For example, if the operational health of one of thehosts 131 is bad, coordinator 114 will not proceed with the applicationof desired image 125 to hosts 131. Upon determining to proceed with theapplication of desired image 125 to hosts 131, coordinator 114 executesthe stage subprocess.

The stage subprocess is represented by steps S13 to S16. Coordinator 114at step S13 issues a stage API to image manager 152 of each host 131,and at step S15 issues a stage API to hardware support manager 170. Inresponse, image manager 152 at step S14 pulls in the payloads of desiredimage 125 from the storage location of desired image 125 and caches themin local memory or cache of the host. At step S16, hardware supportmanager 170 pulls in payloads of the firmware specified by the firmwaremanifest in desired image 125 from firmware repository 171 and cachesthem in local memory or cache of the host.

After staging the payloads, coordinator 114 at step S17 instructs eachhost 131 to enter into maintenance mode if the cluster compliance reportindicates that the maintenance mode is required to bring hosts 131 intocompliance. In response to such an instruction (if issued), hosts 131enter into maintenance mode.

The apply subprocess follows step S17. This subprocess is represented byS18. At step S18, coordinator 114 issues an apply API to each host 131.This API causes image manager 152 of each host 131 to update the currentstate of the virtualization software with the payloads of desired image125 staged at step S14 and the payloads of the firmware staged at stepS16. Also, at step S18, image manager 152 updates metadata of thevirtualization software that is stored in image database 153 to reflectthat the virtualization software in the host and the associated firmwarehave been updated to be compliant with desired image 125.

At step S19, coordinator 114 instructs each host 131 to reboot if thecluster compliance report indicates that hosts 131 are required to berebooted to bring the virtualization software in the host and theassociated firmware into compliance. In response to such an instruction(if issued), hosts 131 undergo a reboot.

Further, in the embodiments described above, the end user carries outthe process of FIG. 6 to “remediate” the hosts. The remediation processmay be executed, in one embodiment, to bring the cluster of hosts backinto compliance with the desired state of the virtualization softwarespecified in software specification 105. In another embodiment, theprocess is carried out to deliver and install a new desired image of thevirtualization software that is generated from software specification105. The process of FIG. 6 includes the scan subprocess, the pre-checksubprocess, the stage subprocess, and the apply subprocess, but some ofthe subprocesses, e.g., the scan subprocess and the pre-checksubprocess, may be executed on its own, independently of the process ofFIG. 6 .

FIG. 7 illustrates a solutions spec 710, which is an example of asolution section of software specification 105, and a plurality ofconstraints files 721-723 that define constraints of solutions that havebeen added to solutions spec 710. The solutions added to solutions spec710 include HA version 7.5, VC version 7.5, and NSX version 1.0.Solutions spec 710 also identifies for each added solution one or morecomponents that are required to enable the solution. The components thatare required to enable the solution are specified in a solution schemawhich is published in image depot 120 (e.g., solution schema 1111 shownin FIG. 11 ), and may also be specified by the end user through UI 102as described above.

FIG. 8 is a diagram that depicts how compatible solution components aredetermined. The diagram in FIG. 8 is a hierarchical tree structure inwhich root node 800 represents all of the solutions that can be enabled.The first level 801 under root node 800 includes intermediate nodesrepresenting the selection and enabling of particular versions ofsolutions, e.g., through solutions UI 102. The second level 802 underthe first level 801 includes intermediate nodes representing componentsof solutions. The third level 803 under the second level 802 includesleaf nodes which illustrate particular versions of solution components,one or more of which may be determined to be compatible according to theconstraints of the solutions.

FIG. 9 is a flow diagram that depicts steps of a method for selecting acompatible version of solution components. This method is executed byimage manager 112 as part of step 338 of FIG. 3 , and may be executedwhen a solution is enabled for the first time and while image manager112 is compositing a desired image of the virtualization software (whichis before the desired image of the virtualization software is appliedonto the hosts) or when the end user is upgrading the solution byenabling a higher version of the solution than that which is currentlyenabled (e.g., by selecting HA version 8.0 to enable on solutions UI 102when HA version 7.5 is currently enabled).

The method of FIG. 9 begins with step 910, where image manager 112retrieves software specification 105 and parses the solution section ofsoftware specification 105 to identify the solutions that the end userhas enabled and one or more components of the enabled solutions thatneed to be included in the image of the virtualization software. Forexample, if the solution section of software specification 105 issolutions spec 710 shown in FIG. 7 , image manger 112 identifies theenabled solutions as NSX version 1.0, HA version 7.5, and VC version7.5, and the components of the enabled solutions as: fabric componentfor NSX version 1.0, FDM component for HA version 7.5, and ESXicomponent for VC version 7.5.

Then, step 912 and the steps following step 912 are executed for eachenabled solution identified in step 910. Image manager 112 at step 912selects one of the enabled solutions and at step 914 retrieves theconstraints file associated with the selected solution. For example,image manager 112 retrieves constraints file 721 for HA version 7.5,constraints file 722 for NSX version 1.0, and constraints file 723 forVC version 7.5. Then, image manager 112 at step 916 runs a test forcompatibility.

For some enabled solutions (e.g., HA version 7.5 and NSX version 1.0),the test for compatibility includes identifying components specified inthe constraints file and determining their compatibility with thecurrent version of the base image. In some cases, a component'scompatibility with a particular version of the base image is hard codedin the metadata of the component and so the compatibility of thecomponent with the current version of the base image may be determinedby examining the component's metadata. In cases where a component'scompatibility with a particular version of the base image is not hardcoded in the metadata of the component, image validation similar to theimage validation depicted in FIG. 4 is carried out to determine thecomponent's compatibility with the current version of the base image.For example, the component is combined with the current version of thebase image, and the combined image undergoes an image validation usingthe method depicted in FIG. 4 . If the combined image passes this imagevalidation, then that component is deemed to be compatible with thecurrent version of the base image. If multiple versions of a componentare specified in the constraints file and they are each compatible withthe current version of the base image, it is preferable to select themost recent version of the compatible versions as the version to includein the desired image of the virtualization software. Accordingly, incases where a component's compatibility with a particular version of thebase image is not hard coded in the metadata of the component andmultiple versions of the component are specified in the constraintsfile, the versions are checked for compatibility using image validationdescribed above in order of their publication dates (from the mostrecent to the least recent), so that the most recent version of acompatible component is added to the desired image of the virtualizationsoftware at step 924.

For some enabled solutions (e.g., VC version 7.5), the requiredcomponents may already be included in the image of the virtualizationsoftware. For example, the ESXi component is one of the components ofthe base image. In such cases, the test for compatibility is whether ornot the enabled solution is compatible with the current version of thebase image, and the constraints file of such a solution specifies arange of base image versions that are compatible. For example, inconstraints file 723 for VC version 7.5, the range of compatible baseimage versions is specified as greater than or equal to 7.0 and lessthan or equal to 7.5.

If the test for compatibility fails (step 918, No), image manager 122 atstep 920 issues an error message indicating that the solution cannot beenabled. The error message may include guidance for resolving the error(e.g., recommending the end user to select another version of thesolution because a component required by the currently selected versionof the solution is not compatible with the current version of the baseimage). If the test for compatibility passes (step 918, Yes), imagemanager 122 at step 922 determines if all components required by thesolution are already in the desired image of the virtualizationsoftware. If it is not (step 922, No), image manager 122 at step 924adds all of the components required by the solution to the desired imageof the virtualization software and thereafter executes step 926. If allcomponents required by the solution are already in the desired image ofthe virtualization software (step 922, Yes), image manager 122 skipsstep 924 and executes step 926.

At step 926, image manager 122 checks to see if all enabled solutionshave been processed. If not, the flow returns to step 912 where imagemanager 122 selects another enabled solution for processing. If allenabled solutions have been processed, the method ends.

FIG. 10 is a flow diagram that depicts steps of a method for checkingfor compatibility of installed solution components during an upgrade ofa virtualization software. This method is executed by image manager 112when the end user expresses a desire to upgrade the base image of thevirtualization software (e.g., in response to the end user selectingbase image version 7.1 on UI 101 when base image version 7.0 iscurrently selected), and thus before the upgraded base image is appliedonto the hosts. This method is also executed by image manager 112 whenthe end user expresses a desire to upgrade any other portion of thevirtualization software.

The method of FIG. 10 begins with step 1010, where image manager 112retrieves software specification 105 and parses the solution section ofsoftware specification 105 to identify the solutions that the end userhas enabled and one or more components of the enabled solutions thatneed to be included in the image of the virtualization software.

Then, step 1012 and the steps following step 1012 are executed for eachenabled solution identified in step 1010. Image manager 112 at step 1012selects one of the enabled solutions and at step 1014 retrieves theconstraints file associated with the selected solution. Then, imagemanager 112 checks to see if the selected solution will remaincompatible with the upgraded image of the virtualization software (step1016). In the embodiments, a solution will become incompatible with theupgraded image of the virtualization software in one of two ways. First,a version of the solution's component, which is part of the currentimage of the virtualization software is not compatible with the upgradedimage of the virtualization software. Second, a solution requires aversion of the base image to be in a certain range of versions and anupgrade version of the base image falls outside that range. Imagemanager 112 performs the compatibility check against the upgrade versionof the base image in the manner described above for step 916 and againstthe upgraded image of the virtualization software using the methoddepicted in FIG. 4 .

If the selected solution is not compatible (step 1018, No), imagemanager 122 at step 1020 blocks the upgrade and the method endsthereafter. If the selected solution is compatible (step 1018, Yes),image manager 122 at step 1022 checks to see if all enabled solutionshave been processed. If not, the flow returns to step 1012 where imagemanager 122 selects another enabled solution for processing. If allenabled solutions have been processed, image manager 122 at step 1024permits the upgrade and the method ends thereafter.

FIG. 11 illustrates examples of a solution schema and product schemas.When a solution is created, the solution developer creates a solutionschema that is published in image depot 120. A solution schema for aparticular solution lists products and software features that arerequired by the solution. The solution schema may also list othersolutions that are required by the solution. Other solutions required bythe solution are referred to as dependent solutions and each dependentsolution has a corresponding solution schema. Products, as used herein,are software and each product has a corresponding product schema. Someproducts are parts of the virtualization software, and a product that isa part of the virtualization software may be in the form of a componentas defined above. As used herein, products that are required by asolution (or by another product as described below) are referred to asdependent products, and software features that are required by asolution are referred to as dependent features.

Solution schema 1111 is a solution schema for the VSAN_O_RDMA (short for“VSAN over RDMA”) solution. This solution requires the VSAN solution(version 6.7.0, 6.8.0 or 7.0-1234), four dependent products, two ofwhich are mandatory, and the following dependent features: VSAN, ISCSI,RDMA, ROCEV2, and DCB. Each version of the VSAN solution has acorresponding solution schema (not shown), and each version of thedependent products has a corresponding product schema. Product schemasof the ESXi product 7.0-1 and the BRCM_RDMA_DRV product are shown inFIG. 11 as product schema 1112 and product schema 1113, respectively.

When a version of a product is created, the product developer creates aproduct schema that is published in image depot 120. A product schemafor a particular product lists software features that are provided bythe product. The product schema may also list other products that arerequired by the product. Other products required by the product arereferred to as dependent products and each dependent product has acorresponding product schema. Product schema 1112 shows no dependentproducts and that the following software features are provided: VSAN,ISCSI, RDMA, and ROCEV2. Product schema 1113 shows one dependentproduct, the ESXi product (version 6.7.0, 6.8.0 or 7.0-12), and that thefollowing software features are provided: RDMA, ROCEV2, and DCB.

In the embodiments, tags of three different types (solution tags,product tags, and feature tags) are employed to simplify the tracking ofsoftware features that are provided by the different products that makeup a solution and software features that are provided by differentsolutions by way of the products included therein. Each tag is a keywordthat is associated with a particular version of a solution, a particularversion of a product, or a particular feature. Each “feature tag” isassociated with a particular feature, each “product tag” with aparticular product version, and each “solution tag” with a particularsolution version.

When a product schema of a particular product version is published inimage depot 120, solutions manager 113 parses the product schema and“tags” this product version with feature tags corresponding to softwarefeatures provided by this product version by updating tag database 161to associate this product version with the feature tags of the softwarefeatures provided by this product version.

FIG. 12 is a flow diagram that depicts steps of a method for creating asoftware image of a solution according to an embodiment. This method iscarried out by solutions manager 113 and begins at step 1210 whensolutions manager 113 detects that a user has selected a particularsolution through solutions UI 102. In response to the detection,solutions manager 113 at step 1212 retrieves the solution schemacorresponding to the selected solution and identifies the softwarefeatures required by the solution schema.

Solutions manager 113 carries out steps 1220-1227 to select particularversions of dependent solutions and products (hereinafter referred to as“selected dependent solution versions” and “selected dependent productversions”), among those specified by the solution schema as well asthose specified by the solution schema of dependent solution versionsand the product schemas of dependent product versions, that can providethe software features that are required by the solution schema.

At step 1220, solutions manager 113 selects a version of a dependentsolution among those specified by the solution schema, and retrieves thesolution schema of the selected dependent solution version. Upon makingthis selection, solutions manager 113 also “tags” the solution with thesolution tag corresponding to the dependent solution version by updatingtag database 161 to indicate an association between the solution (theobject being tagged) and the dependent solution version (the objectrepresented by the solution tag).

Then, solutions manager 113 at step 1221 selects a version of eachdependent product, among those specified by the solution schemas of thesolution and the dependent solution version, and at step 1222 retrievesproduct schemas of the selected dependent product versions. Upon makingthese selections, solutions manager 113 also “tags” the correspondingsolution or dependent solution version with the product tagcorresponding to the dependent product version by updating tag database161 to indicate an association between the solution or the dependentsolution version (the object being tagged) and the dependent productversion (the object represented by the product tag).

A product schema may also specify other products as dependent products.In such a case, step 1223 is executed, at which solutions manager 113selects a version of each dependent product, among those specified bythe product schema, and retrieves the product schemas of the dependentproduct versions. Upon making this selection, solutions manager 113 also“tags” the corresponding product with the product tag corresponding tothe dependent product version by updating tag database 161 to indicatean association between the product (the object being tagged) and thedependent product version (the object represented by the product tag).

At step 1224, solutions manager 113 examines tag database 161 toidentify all product tags associated with the solution. Tag database 161may indicate a direct association between the solution and the productrepresented by the product tag, or may indicate an association betweenthe solution and the product represented by the product tag through: (1)another solution, (2) one or more other products, or (3) anothersolution and one or more other products. After all associated producttags have been identified, solutions manager 113 collects all featuretags applied to the products represented by these product tags.

The software features corresponding to the feature tags that arecollected at step 1224 represent the software features that are providedby the currently composed solution made up of selections of thedependent solution version and the dependent product versions. Ifsolutions manager 113 at step 1225 determines that all software featuresrequired by the solution schema (and identified at step 1212) areprovided by the currently composed solution, step 1230 is executed,where solutions manager 113 saves the currently composed solution as thesoftware image of the solution in solutions depot 162. If, on the otherhand, solutions manager 113 determines at step 1225 that all softwarefeatures required by the solution schema (and identified at step 1212)are not provided by the currently composed solution, step 1226 isexecuted, where solutions manager 113 issues an error message indicatingsoftware features that are missing and prompts the end user to try againat step 1227. If the end user enters an input to try again, solutionsmanager 113 returns to step 1220. If the end user enters an input to nottry again, solutions manager 113 terminates the process.

The selection of the different versions of dependent solutions anddependent products may be made in any manner. In one embodiment, thehighest (or most recent) version is selected first and in subsequentpasses through step 1220, the next highest (or most recent) version isselected.

FIG. 13 is a flow diagram that depicts steps of a method for modifying asoftware image of a solution according to an embodiment. The softwareimage of the solution may be modified as a result of proposed softwareupgrade to any of the products that are part of the software image ofthe solution.

If solutions manager 113 determines at step 1310 that a proposedsoftware upgrade does not affect the current state of the solution,solutions manager 113 terminates the process. If, on the other hand,solutions manager 113 determines at step 1310 that a proposed softwareupgrade does affect the current state of the solution, solutions manager113 executes step 1312, at which solutions manager 113 retrieves thesolution schema corresponding to the solution and identifies thesoftware features required by the solution schema.

At step 1314, solutions manager 113 retrieves the saved state of thesoftware image from solutions depot 162 and updates the saved statebased on the proposed software upgrade. For example, referring to FIG.11 , the proposed software upgrade may be to the ESXi product, fromversion 7.0-1 to version 7.5.

At step 1316, solutions manager 113 examines tag database 161 toidentify all product tags associated with the upgraded state of thesolution. As described above, tag database 161 may indicate a directassociation between the solution and the product represented by theproduct tag, or may indicate an association between the solution and theproduct represented by the product tag through: (1) another solution,(2) one or more other products, or (3) another solution and one or moreother products. After all product tags associated with the upgradedstate of the solution have been identified, solutions manager 113collects all feature tags applied to the products represented by theseproduct tags.

The software features corresponding to the feature tags that arecollected at step 1316 represent the software features that are providedby the upgraded state of the solution. If solutions manager 113 at step1318 determines that all software features required by the solutionschema (and identified at step 1312) are provided by the upgraded stateof the solution, solutions manager 113 at step 1322 permits the proposedsoftware upgrade, and at step 1324 saves the upgrade state of thesolution as the software image of the solution in solutions depot 162.If, on the other hand, solutions manager 113 determines at step 1318that all software features required by the solution schema (andidentified at step 1312) are not provided by the upgraded state of thesolution, solutions manager 113 at step 1320 blocks the proposedsoftware upgrade and terminates the process.

The embodiments described herein may employ various computer-implementedoperations involving data stored in computer systems. For example, theseoperations may require physical manipulation of physical quantities.Usually, though not necessarily, these quantities may take the form ofelectrical or magnetic signals, where the quantities or representationsof the quantities can be stored, transferred, combined, compared, orotherwise manipulated. Such manipulations are often referred to in termssuch as producing, identifying, determining, or comparing. Anyoperations described herein that form part of one or more embodimentsmay be useful machine operations.

One or more embodiments of the invention also relate to a device or anapparatus for performing these operations. The apparatus may bespecially constructed for required purposes, or the apparatus may be ageneral-purpose computer selectively activated or configured by acomputer program stored in the computer. Various general-purposemachines may be used with computer programs written in accordance withthe teachings herein, or it may be more convenient to construct a morespecialized apparatus to perform the required operations.

The embodiments described herein may be practiced with other computersystem configurations including hand-held devices, microprocessorsystems, microprocessor-based or programmable consumer electronics,minicomputers, mainframe computers, etc.

One or more embodiments of the present invention may be implemented asone or more computer programs or as one or more computer program modulesembodied in computer readable media. The term computer readable mediumrefers to any data storage device that can store data which canthereafter be input to a computer system. Computer readable media may bebased on any existing or subsequently developed technology that embodiescomputer programs in a manner that enables a computer to read theprograms. Examples of computer readable media are hard drives, NASsystems, read-only memory (ROM), RAM, compact disks (CDs), digitalversatile disks (DVDs), magnetic tapes, and other optical andnon-optical data storage devices. A computer readable medium can also bedistributed over a network-coupled computer system so that the computerreadable code is stored and executed in a distributed fashion.

Although one or more embodiments of the present invention have beendescribed in some detail for clarity of understanding, certain changesmay be made within the scope of the claims. Accordingly, the describedembodiments are to be considered as illustrative and not restrictive,and the scope of the claims is not to be limited to details given hereinbut may be modified within the scope and equivalents of the claims. Inthe claims, elements and/or steps do not imply any particular order ofoperation unless explicitly stated in the claims.

Virtualization systems in accordance with the various embodiments may beimplemented as hosted embodiments, non-hosted embodiments, or asembodiments that blur distinctions between the two. Furthermore, variousvirtualization operations may be wholly or partially implemented inhardware. For example, a hardware implementation may employ a look-uptable for modification of storage access requests to secure non-diskdata.

Many variations, additions, and improvements are possible, regardless ofthe degree of virtualization. The virtualization software can thereforeinclude components of a host, console, or guest OS that performvirtualization functions.

Plural instances may be provided for components, operations, orstructures described herein as a single instance. Boundaries betweencomponents, operations, and data stores are somewhat arbitrary, andparticular operations are illustrated in the context of specificillustrative configurations. Other allocations of functionality areenvisioned and may fall within the scope of the invention. In general,structures and functionalities presented as separate components inexemplary configurations may be implemented as a combined structure orcomponent. Similarly, structures and functionalities presented as asingle component may be implemented as separate components. These andother variations, additions, and improvements may fall within the scopeof the appended claims.

What is claimed is:
 1. A method of creating a software image of asolution to be deployed in a virtualized computing environment, saidmethod comprising: retrieving a schema of the solution and determiningfrom the schema software products that are required by the solution andsoftware features that are required by the solution, the softwareproducts including at least a first software product and a secondsoftware product; selecting a version of the first software product toinclude in the solution; for each of the other software products, whichinclude the second software product, selecting a version of the softwareproduct to include in the solution; identifying software featuresprovided by the selected version of the first software product and bythe selected versions of the other software products; and uponconfirming that the selected versions of the software products provideall of the software features that are required, creating the softwareimage of the solution that includes the selected version of each of thesoftware products, and saving the software image in a storage device fordeployment in the virtualized computing environment, wherein at leastone of the software products is a component of a virtualization softwarethat is installed in hosts of the virtualized computing environment, andpart of the software image of the solution is to be deployed onto thehosts of the virtualized computing environment.
 2. The method of claim1, further comprising: selecting a version of a dependent solution thatis required by the solution; retrieving a schema of the dependentsolution; and determining from the retrieved schema of the dependentsolution, software products that are required by the dependent solution,wherein the software products that are required by the solution includethe software products that are required by the dependent solution. 3.The method of claim 2, further comprising: retrieving a schema of thefirst software product; and determining from the retrieved schema of thefirst software product, a dependent software product that is required bythe first software product, wherein the software products that arerequired by the solution include the dependent software product that isrequired by the first software product.
 4. The method of claim 1,further comprising: creating feature tags for each of the differentsoftware features and product tags for each version of the softwareproducts; applying to each version of the software products, featuretags corresponding to software features provided by said each version ofthe software products; applying to the solution, product tagscorresponding to the selected versions of the software products requiredby the solution; collecting all feature tags applied to the versions ofthe software products corresponding to the product tags that have beenapplied to the solution; and comparing the software featurescorresponding to the collected feature tags against the softwarefeatures that are required in confirming that the selected versions ofthe software products provide all of the software features that arerequired.
 5. The method of claim 1, further comprising: upon confirmingthat the selected versions of the software products do not provide allof the software features that are required, for each software product,selecting another version of the software product to include in thesolution and identifying software features provided by said anotherversion of the software product.
 6. The method of claim 5, wherein theselected versions of the software products are more recent versions ofthe software products relative to said another versions of the softwareproducts.
 7. A method of updating a software image of a solution thathas been deployed in a virtualized computing environment in response toa proposed software upgrade, said method comprising: upon detecting theproposed software upgrade, retrieving a schema of the solution anddetermining from the schema software features that are required by thesolution, and retrieving a state of the software image of the solutionthat has been deployed in the virtualized computing environment;updating the state of the software image of the solution based on theproposed software upgrade and identifying software features provided bythe updated state of the software image; and upon confirming that theupdated state of the software image provides all of the softwarefeatures that are required, permitting the proposed software upgrade andsaving the updated state of the software image in a storage device,wherein the state of the software image includes a version of a firstsoftware product and a version of a second software product, which arerequired by the solution, and the proposed software upgrade is aproposed upgrade to the first software product, wherein at least one ofthe software products is a component of a virtualization software thatis installed in hosts of the virtualized computing environment, and partof the software image of the solution is deployed onto the hosts of thevirtualized computing environment.
 8. The method of claim 7, furthercomprising: upon confirming that the updated software image does notprovide all of the software features that are required, blocking theproposed software upgrade.
 9. The method of claim 7, further comprising:creating feature tags for each of the different software features andproduct tags for each version of the software products; applying to eachversion of the software products, feature tags corresponding to softwarefeatures provided by said each version of the software products;applying to the solution; product tags corresponding to the versions ofthe software products that are in the updated software image of thesolution; collecting all feature tags applied to the versions of thesoftware products corresponding to the product tags that have beenapplied to the solution; and comparing the software featurescorresponding to the collected feature tags against the softwarefeatures that are required in confirming that the updated software imageof the solution provides all of the software features that are required.10. A virtualized computing system comprising: a plurality of hosts ontoeach of which a virtualization software is to be deployed; a managementserver for the hosts; and a storage device, wherein the managementserver includes a processor that is programmed to carry out a method ofcreating a software image of a solution to be deployed in thevirtualized computing system, said method comprising: retrieving aschema of the solution and determining from the schema software productsthat are required by the solution and software features that arerequired by the solution, the software products including at least afirst software product and a second software product; selecting aversion of the first software product to include in the solution; foreach of the other software products, which include the second softwareproduct, selecting a version of the software product to include in thesolution; identifying software features provided by the selected versionof the first software product and by the selected versions of the othersoftware products; and upon confirming that the selected versions of thesoftware products provide all of the software features that arerequired, creating the software image of the solution that includes theselected version of each of the software products, and saving thesoftware image in the storage device for deployment in the virtualizedcomputing system, wherein at least one of the software products is acomponent of the virtualization software, and part of the software imageof the solution is to be deployed onto the hosts.
 11. The virtualizedcomputing system of claim 10, Wherein feature tags are created for eachof the different software features and product tags are created for eachversion of the software products, and said method further comprises:applying to each version of the software products, feature tagscorresponding to software features provided by said each version of thesoftware products; applying to the solution, product tags correspondingto the selected versions of the software products required by thesolution; collecting all feature tags applied to the versions of thesoftware products corresponding to the product tags that have beenapplied to the solution; and comparing the software featurescorresponding to the collected feature tags against the softwarefeatures that are required in confirming that the selected versions ofthe software products provide all of the software features that arerequired.
 12. The virtualized computing system of claim 10, wherein themethod further comprises: upon confirming that the selected versions ofthe software products do not provide all of the software features thatare required, for each software product, selecting another version ofthe software product to include in the solution and identifying softwarefeatures provided by said another version of the software product. 13.The virtualized computing system of claim 12; wherein the selectedversions of the software products are more recent versions of thesoftware products relative to said another versions of the softwareproducts.
 14. The virtualized computing system of claim 10, wherein theprocessor of the management server is programmed to carry Gut anothermethod comprising: upon detecting a proposed software upgrade,retrieving the schema of the solution and determining from the schemathe software features that are required by the solution, and retrievingthe software image of the solution from the storage device; updating thesoftware image of the solution based on the proposed software upgradeand identifying software features provided by the updated softwareimage; and upon confirming that the updated software image provides allof the software features that are required, permitting the proposedsoftware upgrade and saving the updated software image in the storagedevice for deployment in the virtualized computing system.
 15. Thevirtualized computing system of claim 14, wherein said another methodfurther comprises: upon confirming that the updated software image doesnot provide all of the software features that are required, blocking theproposed software upgrade.
 16. The virtualized computing system of claim14, wherein the software image of the solution includes versions ofsoftware products that are required by the solution, and the proposedsoftware upgrade is a proposed upgrade to one of the software products.